package com.xyf.sys.mapper;

import com.xyf.sys.domain.GoodsCart;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface GoodsCartMapper {
    int deleteByPrimaryKey(Long id);

    int insert(GoodsCart record);

    int insertSelective(GoodsCart record);

    GoodsCart selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(GoodsCart record);

    int updateByPrimaryKey(GoodsCart record);

    GoodsCart selectByUserIdAndStatus(@Param("userId") String userId,@Param("status") String status);
}